import request from '@/utils/request'

export function page(data) {
  return request({
    url: '/service/page',
    method: 'post',
    data
  })
}
export function edit(data) {
  return request({
    url: '/service/edit',
    method: 'post',
    data
  })
}
export function create(data) {
  return request({
    url: '/service/create',
    method: 'post',
    data
  })
}
export function deleted(data) {
  return request({
    url: '/service/delete/' + data,
    method: 'delete'
  })
}
